package com.zzw.springboot;

import com.zaxxer.hikari.HikariDataSource;
import com.zzw.springboot.security.SecurityUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

/**
 * @author 赵志伟
 * @version 1.0
 */
@SuppressWarnings({"all"})
@MapperScan(basePackages = {"com.zzw.springboot.mapper"})
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        // 如果需要启用分表，可以添加如下命令行参数：--spring.profiles.active=sharding
        ApplicationContext ioc = SpringApplication.run(Application.class, args);
        System.out.println("应用启动成功");

    }
}
